<%@ page contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<html>
<head>
	<title>Login Manager - Project Live!</title>
	<link href="style.css" rel="stylesheet" type="text/css" media="screen" />
	<script type="text/javascript" src="js/jquery.js"></script>
    <script type="text/javascript" src="js/mediaplayer/base.js"></script>
</head> 
<body>
	<div id="wrapper" class="wrapperLogin">	
		<div class="container">
			<div id="logo" align="center" >
				<h1> Share Music </h1>	
				
			</div>
			<div class="boxLogin" align="center">
				
				<div class="loginLocaleForm">
					<h1>Area Locale</h1>
					
					<s:form id="loginUtente" action="loginUtente.action" namespace="/" method="POST">
					    <s:textfield name="usernameUtente" key="label.utente.username" size="20"/>
					    <s:password name="passwordUtente" key="label.utente.password" size="20"/>	
					    <s:submit method="loginUtente" key="label.utente.login" align="center" cssClass="button"/>
					</s:form>
					<a href="<s:url action="registerUtente"/>" >Non sei registrato? </a> 
				</div>
				
				<div class="loginGuestForm">
					<h1>Area Utenti</h1>
					
					<s:form action="loginGuest.action" namespace="/" method="POST">
						<s:textfield name="idLocale" key="label.guest.idlocale" size="20"/>
					    <s:textfield name="usernameGuest" key="label.guest.username" size="20"/>
					    <s:submit method="loginGuest" key="label.guest.login" align="center" cssClass="button"/>
					</s:form>
					<a href="<s:url action="registerGuest"/>" >Non sei registrato? </a> 
				</div>
				
				<div class="errorMessage">
					<s:actionerror />
				</div>		
			</div>	
		</div>
	</div>	
	
	<div id="footer">
		<p>© 2010 Untitled Inc. All rights reserved. Design by <a href="http://www.apiconsulting.it">ApiConsulting</a>.  Photos by <a href="http://fotogrph.com/">Fotogrph</a>.</p>
	</div>	
		
</body>
</html>